package effectivejava.serializable;

import java.io.IOException;
import java.io.ObjectOutputStream;

public class SerialzableMain {
	
	private String officeAddress;
	private String designation;
	
	public String getOfficeAddress() {
		return officeAddress;
	}
	public void setOfficeAddress(String officeAddress) {
		this.officeAddress = officeAddress;
	}
	public String getDesignation() {
		return designation;
	}
	public void setDesignation(String designation) {
		this.designation = designation;
	}
	
	
	private void writeObject(ObjectOutputStream s)
	        throws IOException {
	        s.defaultWriteObject();
	       // s.writeInt();
	        // Write out all elements in the proper order.
	      
	    }

}
